<!doctype html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta http-equiv="Content-Language" content="en" />
    <meta name="msapplication-TileColor" content="#2d89ef">
    <meta name="theme-color" content="#4188c9">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="HandheldFriendly" content="True">
    <meta name="MobileOptimized" content="320">
    <link rel="icon" href="./favicon.ico" type="image/x-icon"/>
    <link rel="shortcut icon" type="image/x-icon" href="./favicon.ico" />
    <!-- Generated: 2018-04-06 16:27:42 +0200 -->
    <title>Home</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i,500,500i,600,600i,700,700i&amp;subset=latin-ext">
    <script src="__JS__/require.min.js"></script>
    <script>
      requirejs.config({
          baseUrl: '.'
      });
    </script>
    <!-- Dashboard Core -->
    <link href="__CSS__/dashboard.css" rel="stylesheet" />
    <script src="__JS__/dashboard.js"></script>
    <script src="__STATIC__/plugins/input-mask/plugin.js"></script>
    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>

  </head>
  <body class="">
    <div class="page">
      <div class="page-main">
        <div class="header py-4">
          <div class="container">
            <div class="d-flex">
              <a class="header-brand" href="./index.html">
                Management System V1.0
              </a>
              <div class="d-flex order-lg-2 ml-auto">
                <div class="dropdown">
                  <a href="#" class="nav-link pr-0 leading-none" data-toggle="dropdown">
                    <span class="avatar"><i class="fe fe-user"></i></span>
                    <span class="ml-2 d-none d-lg-block">
                      <span class="text-default">{$Think.session.name}</span>
                      <small class="text-muted d-block mt-1">{eq name="Think.session.type" value="admin"}管理员{/eq}
                        {eq name="Think.session.type" value="user"}用户{/eq}</small>
                    </span>
                  </a>
                  <div class="dropdown-menu dropdown-menu-right dropdown-menu-arrow">
                    <a class="dropdown-item" href="/User/signout">
                      <i class="dropdown-icon fe fe-log-out"></i> Sign out
                    </a>
                    <a class="dropdown-item" href="/Article/Changelog">
                      <i class="dropdown-icon fe fe-log-out"></i> Changelog
                    </a>
                  </div>
                </div>
              </div>
              <a href="#" class="header-toggler d-lg-none ml-3 ml-lg-0" data-toggle="collapse"
                data-target="#headerMenuCollapse">
                <span class="header-toggler-icon"></span>
              </a>
            </div>
          </div>
        </div>
        <div class="header collapse d-lg-flex p-0" id="headerMenuCollapse">
          <div class="container">
            <div class="row align-items-center">
              <div class="col-lg order-lg-first">
                <ul class="nav nav-tabs border-0 flex-column flex-lg-row">
                  <li class="nav-item">
                    <a href="/Index/index" class="nav-link"><i class="fe fe-home"></i> 首页</a>
                  </li>
                  <li class="nav-item">
                    <a href="javascript:void(0)" class="nav-link" data-toggle="dropdown"><i class="fe fe-user"></i> 会员管理</a>
                    <div class="dropdown-menu dropdown-menu-arrow">
                      <a href="/Customer/Add" class="dropdown-item ">新增</a>
                      <a href="/Customer/List" class="dropdown-item ">查询</a>
                    </div>
                  </li>
                  <!--
                  <li class="nav-item dropdown">
                    <a href="javascript:void(0)" class="nav-link" data-toggle="dropdown"><i class="fa fa-bars"></i> 病例管理</a>
                    <div class="dropdown-menu dropdown-menu-arrow">
                      <a href="" class="dropdown-item ">新增</a>
                      <a href="" class="dropdown-item ">修改</a>
                      <a href="" class="dropdown-item ">查询</a>
                    </div>
                  </li>
                  -->
                  {eq name="Think.session.type" value="admin"}
                  <li class="nav-item dropdown">
                    <a href="javascript:void(0)" class="nav-link" data-toggle="dropdown"><i class="fa fa-user"></i> 医生管理</a>
                    <div class="dropdown-menu dropdown-menu-arrow">
                      <a href="/Doctor/Add" class="dropdown-item ">新增</a>
                      <a href="/Doctor/List" class="dropdown-item ">浏览</a>
                    </div>
                  </li>
                  {/eq}
                  {eq name="Think.session.cid" value="0"}
                  <li class="nav-item dropdown">
                    <a href="javascript:void(0)" class="nav-link" data-toggle="dropdown"><i class="fa fa-map"></i> 分店管理</a>
                    <div class="dropdown-menu dropdown-menu-arrow">
                      <a href="/Branch/Add" class="dropdown-item ">新增</a>
                      <a href="/Branch/List" class="dropdown-item ">浏览</a>
                    </div>
                  </li>
                  {/eq}
                  {eq name="Think.session.type" value="admin"}
                  <li class="nav-item dropdown">
                    <a href="javascript:void(0)" class="nav-link" data-toggle="dropdown"><i class="fa fa-file-text-o"></i> 文章管理</a>
                    <div class="dropdown-menu dropdown-menu-arrow">
                      <a href="/Article/Add" class="dropdown-item ">新增</a>
                      <a href="/Article/List" class="dropdown-item ">浏览</a>
                    </div>
                  </li>
                  {/eq}
                  {eq name="Think.session.type" value="user"}
                  <li class="nav-item">
                    <a href="/Appo/List" class="nav-link"><i class="fa fa-file-text-o"></i> 预约管理</a>
                  </li>
                  {/eq}
                </ul>
              </div>
            </div>
          </div>
        </div>